﻿using KAsFrame.Common.Dto;
using KAsFrame.Common.Extensions;
using KAsFrame.DomainShared;
using KAsFrame.DomainShared.School;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KAsFrame.Domain.User.Dto
{
    public class UserDto : IEntityDto<long>
    {
        public string Account { get; set; }

        public string UserName { get; set; }

        public int Gender { get; set; }

        public string PhoneNumber { get; set; }

        public string Email { get; set; }

        public string GenderText
        {
            get
            {
                var @enum = (GenderEnums)Gender;
                return @enum.GetDescription();
            }
        }
    }
}
